package com.oa.ylms.apps.entity.archives;

import java.io.Serializable;
import java.util.Date;

import com.oa.ylms.apps.common.DateUtil;
import com.oa.ylms.apps.entity.organization.PostInfoValue;

@SuppressWarnings("serial")
public class ArchiveInfoValue implements Serializable {

	// Fields

	private Integer archiveId;
	private MailInfoValue mailInfo;
	private MajorInfoValue majorInfo;
	private AvatarInfoValue avatarInfo;
	private PostInfoValue postInfo;
	private String archiveNo;
	private String staffName;
	private String gender;
	private Integer age;
	private Date birthday;
	@SuppressWarnings("unused")
	private String strBirthday;
	private String politician;
	private String grade;
	private String classNo;
	private String telphone;
	private String dormitory;
	private Integer states;
	
	// Property accessors
	
	public Integer getArchiveId() {
		return archiveId;
	}
	public void setArchiveId(Integer archiveId) {
		this.archiveId = archiveId;
	}
	public MailInfoValue getMailInfo() {
		return mailInfo;
	}
	public void setMailInfo(MailInfoValue mailInfo) {
		this.mailInfo = mailInfo;
	}
	public MajorInfoValue getMajorInfo() {
		return majorInfo;
	}
	public void setMajorInfo(MajorInfoValue majorInfo) {
		this.majorInfo = majorInfo;
	}
	public AvatarInfoValue getAvatarInfo() {
		return avatarInfo;
	}
	public void setAvatarInfo(AvatarInfoValue avatarInfo) {
		this.avatarInfo = avatarInfo;
	}
	public PostInfoValue getPostInfo() {
		return postInfo;
	}
	public void setPostInfo(PostInfoValue postInfo) {
		this.postInfo = postInfo;
	}
	public String getArchiveNo() {
		return archiveNo;
	}
	public void setArchiveNo(String archiveNo) {
		this.archiveNo = archiveNo;
	}
	public String getStaffName() {
		return staffName;
	}
	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPolitician() {
		return politician;
	}
	public void setPolitician(String politician) {
		this.politician = politician;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getClassNo() {
		return classNo;
	}
	public void setClassNo(String classNo) {
		this.classNo = classNo;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getDormitory() {
		return dormitory;
	}
	public void setDormitory(String dormitory) {
		this.dormitory = dormitory;
	}
	public Integer getStates() {
		return states;
	}
	public void setStates(Integer states) {
		this.states = states;
	}
	public void setStrBirthday(String strBirthday) {
		this.strBirthday = strBirthday;
	}
	public String getStrBirthday() {
		return DateUtil.toStringWithoutHours(birthday);
	}
}
